Last field in routes contains "Route URL link". Remove zero-check.
authoroliskoli <oliskoli>
Fri, 24 Feb 2006 01:03:13 +0000 (01:03 +0000)
committeroliskoli <oliskoli>
Fri, 24 Feb 2006 01:03:13 +0000 (01:03 +0000)
gdb.c

diff --git a/gdb.c b/gdb.c
index 58b6f5a37c947fc456e2ba7dba7069a2bf1a515f..f6e49057ec0613f63ae922ad91c4558977cc3a6d 100644 (file)
--- a/gdb.c
+++ b/gdb.c
@@ -684,8 +684,7 @@ gdb_read_route(void)
                if (gdb_ver > 1)
                    gdb_fread(buff, 8);                                 /* Unknown 8 bytes since gdb v2 */
 
-               gdb_fread(buff, 1);
-               gdb_is_valid((buff[0] == 0), prefix3, "last seq.(2)");
+               gdb_fread_str(xname, sizeof(xname));                    /* route url link */
                
                wpt = gdb_create_rte_wpt(xwptname, xlat, xlon, xalt);
                if (wpt != NULL)